import { req } from "./init";

export const getCatitems = async () => {
  const result = (await req.get("home/catitems")) as any;
  return result.message;
};

export const getSwiper = async () => {
  const result = (await req.get("home/swiperdata")) as any;
  return result.message;
};
export const getFloordata = async () => {
  const { message } = (await req.get("home/floordata")) as any;
  return message;
};
